package com.pearadmin.pro.modules.training.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import org.apache.ibatis.type.Alias;


import com.alibaba.fastjson.annotation.JSONField;

/**
 * 实训耗材 实体类
 *
 * @author YangMiao 1939724848@qq.com
 * @version 1.0.0
 * @date 2022-06-27 10:38:04
 */
@Data
@Alias("TrainingConsumable")
@TableName("training_consumable")
public class TrainingConsumable implements Serializable {
    /**
     * id<sampleValue>1982</sampleValue>
     *
     * @date 2022-06-27 10:38:04
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 耗材名称<sampleValue>耗材名称默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:38:04
     */
    @TableField(value = "cs_name")
    private String csName;

    /**
     * 耗材状态：0，正常，1：已预约，2：故障，3：已申报<sampleValue>耗材状态：0，正常，1：已预约，2：故障，3：已申报默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:38:04
     */
    @TableField(value = "cs_state")
    private String csState;

    /**
     * 耗材数量<sampleValue>8172</sampleValue>
     *
     * @date 2022-06-27 10:38:04
     */
    @TableField(value = "cs_number")
    private Integer csNumber;

    /**
     * 实训室ID<sampleValue>8205</sampleValue>
     *
     * @date 2022-06-27 10:38:04
     */
    @TableField(value = "li_id")
    private Integer liId;

    /**
     * 使用次数<sampleValue>6545</sampleValue>
     *
     * @date 2022-06-27 10:38:04
     */
    @TableField(value = "use_count")
    private Integer useCount;

    /**
     * 备注<sampleValue>备注默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建人<sampleValue>创建人默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "create_Name")
    private String createName;

    /**
     * 创建时间<sampleValue>2022-06-27 10:36:54</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_Time")
    private LocalDateTime createTime;

    @TableField(exist = false)
    private String startCreateTime;

    @TableField(exist = false)
    private String endCreateTime;

    /**
     * 修改人<sampleValue>修改人默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "update_Name")
    private String updateName;

    /**
     * 修改时间<sampleValue>2022-06-27 10:36:54</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_Time")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private String startUpdateTime;

    @TableField(exist = false)
    private String endUpdateTime;

    /**
     * 备用字段<sampleValue>备用字段默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "standby1")
    private String standby1;

    /**
     * 备用字段<sampleValue>备用字段默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "standby2")
    private String standby2;

    /**
     * 备用字段<sampleValue>备用字段默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "standby3")
    private String standby3;

    /**
     * 备用字段<sampleValue>备用字段默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "standby4")
    private String standby4;

    /**
     * 备用字段<sampleValue>备用字段默认值内容</sampleValue>
     *
     * @date 2022-06-27 10:36:54
     */
    @TableField(value = "standby5")
    private String standby5;
    // 实训室名称
    @TableField(exist = false)
    private String lainName;

}
